<template>
  <el-row class="login-bg" type="flex" justify="center">
    <el-col :md="{span:4,offset:3}" class="hidden-sm-and-down">
      <i class="fa fa-envelope email-icon" aria-hidden="true"></i>
      hnkjzyzy888@126.com
    </el-col>
    <el-col :md="{span:4}" class="hidden-sm-and-down"><i class="fa fa-phone email-icon" aria-hidden="true"></i>
      0731-8567726
    </el-col>
    <el-col :md="{span:3,offset:5}" :xs="{span:12}" style="padding-left: 20px">
      <i class="fa fa-user email-icon" aria-hidden="true"></i>
      登录
    </el-col>
    <el-col :md="{span:4}" :xs="{span:12}">
      <el-avatar src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png" class="header">
      </el-avatar>
      季风
    </el-col>
  </el-row>
</template>

<script>
export default {
  name: 'Topbar'
}
</script>

<style lang="stylus" scoped>
  .login-bg {
    background-color black
    line-height 60px
    color #ddd
    font-size 15px
    font-family 'Barlow', sans-serif;

    .email-icon {
      margin-right 10px
      color rgba(0, 197, 181, 100)
    }

    .header {
      position relative
      top 20%
      margin-right 20px
    }
  }
  @media all and (max-width: 960px) {
    .login-bg {
      line-height 60px
    }
  }
</style>
